package com.yunshang.ysmall.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.yunshang.ysmall.model.OrderInfo;
@Mapper
public interface OrderInfoMapper {

    int insert(OrderInfo record);


    OrderInfo selectByOrderId(String orderId);
    
    List<OrderInfo> getOrderListByParams(Map params);
    
    Integer getListCountByParams(Map params);
    
    int update(OrderInfo record);


	int orderListCount(String memberId);


	void updateOrderstatusAndTransferStatus(String orderId);


	List<OrderInfo> findOrderListByParams(Map<String, Object> params);


	void updateOrderInfoByOrderId(String orderId);


	int getCountOrderByMemberIdList(String memberId);


	void updateOrderBonusCode(Map<String,Object> parameters);


	OrderInfo findByOrderId(String orderId);

}